package com.pinganfu.mock.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.pinganfu.mock.dao.IAsynchronousResultDao;
import com.pinganfu.mock.model.AsynchronousResultEntity;
import com.pinganfu.mock.service.IAsynchronousResultService;

@Service
public class AsynchronousResultServiceImpl implements IAsynchronousResultService{
	
	@Resource
	private IAsynchronousResultDao iAsynchronousResultDao;

	

	@Override
	public Integer insertASynchronousResult(AsynchronousResultEntity entity) {
		// TODO Auto-generated method stub
		return iAsynchronousResultDao.insertASynchronousResult(entity);
	}



	@Override
	public String getASynchronousResultByUrl1(Map<String, Object> param) {
		// TODO Auto-generated method stub
		return iAsynchronousResultDao.getASynchronousResultByUrl1(param);
	}



	@Override
	public String getASynchronousResultByUrl2(Map<String, Object> param) {
		// TODO Auto-generated method stub
		return iAsynchronousResultDao.getASynchronousResultByUrl2(param);
	}

}
